package com.face.server.repository;

import com.face.server.entity.FaceModel;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface FaceModelRepository extends MongoRepository<FaceModel, String> {

    FaceModel findFirstBy();

    long deleteByFileId(String id);

    FaceModel findByFileId(String fileId);
}
